package com.ysqcould.curriculum.domain;

import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程分类对象 t_course_type
 * 
 * @author ruoyi
 * @date 2022-09-27
 */
public class CourseType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 视频分类名称 */
    @Excel(name = "视频分类名称")
    private String courseTypeName;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 状态（0 可用 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "0=,可=用,1=冻结,2=删除")
    private Long status;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseTypeName(String courseTypeName) 
    {
        this.courseTypeName = courseTypeName;
    }

    public String getCourseTypeName() 
    {
        return courseTypeName;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseTypeName", getCourseTypeName())
            .append("asId", getAsId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("sort", getSort())
            .toString();
    }
}
